AUTOMAKE_OPTIONS = foreign

INCLUDES=-Iinclude $(OTHER_CFLAGS) $(CURL_CFLAGS) $(SCEW_CFLAGS) $(ARGTABLE_CFLAGS) $(ARCHIVE_CFLAGS) $(URIPARSER_CFLAGS) $(LIBBEECRYPT_CFLAGS)
ACLOCAL_AMFLAGS=-I m4 
bin_PROGRAMS = minirpm
minirpm_LDADD = $(CURL_LIBS) $(SCEW_LIBS) $(ARGTABLE_LIBS) $(ARCHIVE_LIBS) $(URIPARSER_LIBS) $(LIBBEECRYPT_LIBS)
minirpm_CFLAGS = --std=c99 -D_BSD_SOURCE

minirpm_SOURCES = src/rpm.c src/rpmdb.c
minirpm_SOURCES += src/main.c  src/commandLine.c
minirpm_SOURCES += src/md5.c 

EXTRA_DIST=include/*.h

all: minirpm
